com.rscja.team.qcom.serialportapi

## Class SerialportAPI

- java.lang.Object
- - com.rscja.team.qcom.serialportapi.SerialportAPI

-     public class SerialportAPI
      extends java.lang.Object

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `closeSerialPort()`
    `static SerialportAPI` | `getInstance()`
    `boolean` | `isOpen()`
    `boolean` | `openSerialPort(java.lang.String path, int baudrate)`
    `byte[]` | `receiveBytes()`
    `boolean` | `sendBytes(byte[] in)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getInstance

          public static SerialportAPI getInstance()

    - #### openSerialPort

          public boolean openSerialPort(java.lang.String path,
                                        int baudrate)

    - #### closeSerialPort

          public void closeSerialPort()

    - #### isOpen

          public boolean isOpen()

    - #### receiveBytes

          public byte[] receiveBytes()

    - #### sendBytes

          public boolean sendBytes(byte[] in)